package com.vip.admin.modules.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 袜子离不开秋裤
 * @since 2020-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysRole implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "ID", type = IdType.AUTO)
	private Integer id;

	@TableField("ROLE_NAME")
	private String roleName;

	@TableField("ROLE_CODE")
	private String roleCode;

	@TableField("DESCR")
	private String descr;

	@TableField("IS_DEL")
	@TableLogic
	private Boolean isDel;

	@TableField("UPDATOR")
	private String updator;

	@TableField("UPDATE_TIME")
	private Date updateTime;

	@TableField("CREATOR")
	private String creator;

	@TableField("CREATE_TIME")
	private Date createTime;

}
